module(...,package.seeall)


local function update_cbFunt(result)
    if(result)
    then
        log.info("update succeed!")
    else
        log.info("update failure!")
    end
end

require"update"
update.request(update_cbFunt,"www.gxzniot.com:8080/Air202Update/")
sys.timerLoopStart(log.info,1000,"testUpdate.version",_G.VERSION)